home *** CD-ROM | disk | FTP | other *** search
/ PD Collection CD 1 / PD Collection CD 1.iso / textual / tex / files / !tex / latexsty1 / A4SPEC / STY
Encoding:
Text File  |  1991-02-10  |  1.1 KB  |  38 lines

  1. %
  2. % "a4spec" document style option.
  3. %   taken from
  4. % "a4" document style option.
  5. % John Pavel, May 1987
  6. %
  7. % Redefines the \textheight and \topmargin for A4 paper, as opposed to US paper.
  8.  
  9. % \textwidth is not altered because A4 is narrower than US paper.
  10. %
  11. % \textheight is the height of text (including footnotes and figures, 
  12. % excluding running head and foot).
  13. %
  14. % Adjusting \textheight will adjust position of the bottom of the page.
  15. % Must preserve "(\textheight - \topskip) divides \baselineskip".
  16. % \topskip always appears to be 10pt.
  17. %
  18. %
  19. % Following Lamport's change to other style files on 24 Jun 86,
  20. % changed to explicitly compute \textheight to avoid roundoff.  The
  21. % value of the multiplier was calculated as the floor of the old
  22. % \textheight minus \topskip, divided by \baselineskip for
  23. % \normalsize.
  24. %
  25. % remove the top-margin adjustment
  26. %\topmargin 0 pt     %    Nominal distance from top of paper to top of page
  27. \ifcase \@ptsize
  28.     % mods for 10 pt
  29.     \textheight 47\baselineskip
  30. \or % mods for 11 pt 
  31.     \textheight 41\baselineskip
  32. \or % mods for 12 pt
  33.     \textheight 38\baselineskip
  34. \fi
  35. \advance\textheight by \topskip
  36.